#ifndef IMAGEBUTTON_H
#define IMAGEBUTTON_H

#include "mybtn/basebtnwidget.h"

class ImageButton : public BaseBtnWidget
{
    Q_OBJECT
public:
    explicit ImageButton(QWidget *parent = 0,
                         QSizeF s = QSizeF(),
                         QImage normalImage = QImage(),
                         QImage pressImage = QImage());
    ~ImageButton();

    void paintEvent(QPaintEvent *);

    QImage          m_normalImage;
    QImage          m_pressImage;

signals:
public slots:

};

#endif // IMAGEBUTTON_H
